home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / tls / tls010.ltr < prev    next >
Text File  |  1994-09-02  |  2KB  |  52 lines

  1. The compressed tar file fss.tar.Z contains a few examples and comments that
  2. pertain to the File System Switch facilities in SCO UNIX.  Remember,
  3. this is unsupported, and probably dangerous stuff.  Use at your
  4. own risk.
  5.  
  6.     File System Switch (FSS) is an interface which allows
  7.     custom file systems to be added to a UNIX System V release 3
  8.     system.
  9.  
  10.     In order to implement a custom filesystem, you must write
  11.     a number of filesystem dependent routines which interface
  12.     with a filesyetem independent layer in the UNIX kernel.
  13.  
  14.     The custom filesystem module itself is linked into the
  15.     UNIX kernel in a manner similar to a hardware device driver.
  16.     A detailed description of the installation of a custom
  17.     filesystem is outside the scope of this document, however
  18.     here is a summary of the necessary configuration files.
  19.     (For the purposes of this discussion it will be assumed
  20.     that the file system to be added is the "XYZ" filesytem
  21.     and that the names of all of the filesystem dependent
  22.     routines have the prefix "xyz".
  23.  
  24.     The following files and directories have to be supplied:
  25.  
  26.     /etc/conf/pack.d/xyz/Driver.o    - the XYZ filesystem support
  27.                       module itself
  28.     /etc/conf/pack.d/xyz/space.c    - space.c file for the XYZ
  29.                       filesystem
  30.     /etc/conf/mfsys.d/xyz        - XYZ filesystem master configuration
  31.                       file
  32.     /etc/conf/sfsys.d/xyz        - XYZ filesystem system configuration
  33.                       file
  34.  
  35.     The format of the mfsys and sfsys files is documented in
  36.     the manual pages for MFSYS(F) and SFSYS(F) respectively.
  37.  
  38.     The function of the mfsys file is to declare the name of
  39.     the filesystem, the prefix which is added to the name of
  40.     each filesystem dependent routine, two sets of flags and
  41.     a bitmask of ones and zeroes which defines which filesysytem
  42.     dependent routines are actually implemented in this particular
  43.     filesystem.
  44.  
  45.     The sfsys file is used to indicate whether the filesystem
  46.     should actually be configured into the kernel.
  47.  
  48.     Typically the space.c file will be used to define storage
  49.     for filesystem dependent data structures such as the
  50.     filesytem "super-block" (or equivalent) and filesystem
  51.     dependent "inode" structures or equivalent.
  52.